class PcapIpLayer:
    src_ip: bytes
    dst_ip: bytes

    def __init__(self, src_ip, dst_ip):
        self.src_ip = src_ip
        self.dst_ip = dst_ip

    def get_src_ip_str(self):
        ans = ""
        for i in range(3):
            ans += str(self.src_ip[i])
            ans += "."
        ans += str(self.src_ip[3])
        return ans

    def get_dst_ip_str(self):
        ans = ""
        for i in range(3):
            ans += str(self.dst_ip[i])
            ans += "."
        ans += str(self.dst_ip[3])
        return ans
